package com.ruoyi.system.mapper.distribution;

import com.ruoyi.system.domain.distribution.CashManagement;

import java.util.List;

public interface CashManagementMapper {

    /**
     * 查询店铺提现
     *
     * @param manageId 店铺提现ID
     * @return 店铺提现
     */
    public CashManagement selectCashManagementById(Integer manageId);

    /**
     * 查询店铺提现列表
     *
     * @param cashManagement 店铺提现
     * @return 店铺提现集合
     */
    public List<CashManagement> selectCashManagementList(CashManagement cashManagement);

    /**
     * 根据用户id查询提现
     * @param id
     * @return
     */
    public List<CashManagement> getCashManagementListByInviterId(Long id);

    /**
     * 新增店铺提现
     *
     * @param cashManagement 店铺提现
     * @return 结果
     */
    public int insertCashManagement(CashManagement cashManagement);

    /**
     * 修改店铺提现
     *
     * @param cashManagement 店铺提现
     * @return 结果
     */
    public int updateCashManagement(CashManagement cashManagement);

    /**
     * 删除店铺提现
     *
     * @param manageId 店铺提现ID
     * @return 结果
     */
    public int deleteCashManagementById(Integer manageId);

    /**
     * 批量删除店铺提现
     *
     * @param manageIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteCashManagementByIds(Integer[] manageIds);

}
